import multiprocessing as mp
import time


def worker_io(n):
    time.sleep(1)
    print(n)


def worker(n):
    print(n)


if __name__ == '__main__':
    p1 = mp.Process(target=worker_io, args=(1,))
    p2 = mp.Process(target=worker, args=(2,))
    p3 = mp.Process(target=worker, args=(3,))

    p1.start()
    p2.start()
    p3.start()
